package com.liuyi.framework.web.note;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * <p>
 * 短信验证码URL配置
 * </p>
 *
 * @author Mr.Fmy
 * @since 2020-12-12
 */
@Data
public class NoteUrl {

    /**
     * 验证URI
     */
    private String uri;

    /**
     * 验证类型
     */
    private String type;

    private String phoneKey;

    private boolean loginGet;

    public NoteUrl(String uri, String type, String phoneKey) {
        this.uri = uri;
        this.type = type;
        this.phoneKey = phoneKey;
        this.loginGet = false;
    }

    public NoteUrl(String uri, String type, String phoneKey, boolean loginGet) {
        this.uri = uri;
        this.type = type;
        this.phoneKey = phoneKey;
        this.loginGet = loginGet;
    }
}
